const loginMiddle= (req, res, next) => {
    let username = req.session.user
    if (username) {
        return res.send({
            message: "你已经登陆了",
            status: 200
        })
    }
    next()
}

module.exports={
    loginMiddle
}